--
-- Created by IntelliJ IDEA.
-- User: liuqing
-- Date: 2015/11/16
-- Time: 21:34
-- To change this template use File | Settings | File Templates.
--
local v=redis.call('get',KEYS[1]);
if v
then redis.call('set',KEYS[1],ARGV[1]);
end;
return v;

